package com.rattsoftware.client.events;

import com.extjs.gxt.ui.client.event.EventType;

public class AppEvents {
	// fired after successful logging into the system
	public static final EventType Init = new EventType();

	// fired on start up of the application
	public static final EventType Login = new EventType();
	
	// fired to display a list of users
	public final static EventType UserList = new EventType();
	
	// fired to display a list of courses
	public final static EventType CourseList = new EventType();
	
	// fired on an unsuccessful login
	public final static EventType LoginError = new EventType();
	
	// fired to display home page
	public static final EventType HomeView = new EventType();

	public static final EventType Error = new EventType();
	
	public static final EventType NavHomePage = new EventType();
	
	// fired to display staff page
	public static final EventType StaffView = new EventType();
	
	// fired to add a new staff
	public final static EventType NewStaff = new EventType();
	
	// fired to edit a staff
	public final static EventType EditStaff = new EventType();
	
	// fired to display time table page
	public static final EventType TimeTableView = new EventType();
	
	// fired to display room page
	public static final EventType RoomView = new EventType();
	
	// fired to add a new Faculty
	public final static EventType NewRoom = new EventType();
	
	// fired to edit a Faculty
	public final static EventType EditRoom = new EventType();
	
	// fired to display course page
	public static final EventType CourseView = new EventType();
	
	// fired to display faculty page
	public static final EventType FacultyView = new EventType();
	
	// fired to display adding a new course wizard.
	public final static EventType NewCourseUnit = new EventType();
	
	// fired to display course units
	public final static EventType ViewCourseUnits = new EventType();
	
	// fired to edit a course unit
	public final static EventType EditCourseUnit = new EventType();
	
	// fired to add a new user
	public final static EventType NewUser = new EventType();
	
	// fired to edit a user
	public final static EventType EditUser = new EventType();
	
	// fired to add a new course
	public final static EventType NewCourse = new EventType();
	
	// fired to edit a course
	public final static EventType EditCourse = new EventType();
	
	// fired to add a new Faculty
	public final static EventType NewFaculty = new EventType();
	
	// fired to edit a Faculty
	public final static EventType EditFaculty = new EventType();
	
	// fired to add a new Department
	public final static EventType NewDepartment = new EventType();
	
	// fired to edit a Department
	public final static EventType EditDepartment = new EventType();
	
	// fired to display departments
	public final static EventType ViewDepartments = new EventType();
	
	public static final EventType NavMail = new EventType();

	public static final EventType NavTasks = new EventType();

	public static final EventType NavContacts = new EventType();

	public static final EventType ViewMailFolders = new EventType();

	public static final EventType ViewMailItems = new EventType();

	public static final EventType ViewMailItem = new EventType();
	
	public static final EventType ViewMainDisplay = new EventType();
}
